import request from '@/utils/request'

// 查询打印订单列表
export function listDayinorder(query) {
  return request({
    url: '/ziliao/dayinorder/list',
    method: 'get',
    params: query
  })
}

// 查询打印订单详细
export function getDayinorder(id) {
  return request({
    url: '/ziliao/dayinorder/' + id,
    method: 'get'
  })
}

// 新增打印订单
export function addDayinorder(data) {
  return request({
    url: '/ziliao/dayinorder',
    method: 'post',
    data: data
  })
}

// 修改打印订单
export function updateDayinorder(data) {
  return request({
    url: '/ziliao/dayinorder',
    method: 'put',
    data: data
  })
}

// 删除打印订单
export function delDayinorder(id) {
  return request({
    url: '/ziliao/dayinorder/' + id,
    method: 'delete'
  })
}
